|
|
@@ -11,7 +11,7 @@
|
11
|
11
|
#
|
12
|
12
|
# It's strongly recommended to check this file into your version control system.
|
13
|
13
|
|
14
|
|
-ActiveRecord::Schema.define(:version => 20131227000021) do
|
|
14
|
+ActiveRecord::Schema.define(:version => 20140121075418) do
|
15
|
15
|
|
16
|
16
|
create_table "agent_logs", :force => true do |t|
|
17
|
17
|
t.integer "agent_id", :null => false
|
|
|
@@ -37,9 +37,9 @@ ActiveRecord::Schema.define(:version => 20131227000021) do
|
37
|
37
|
t.datetime "updated_at", :null => false
|
38
|
38
|
t.text "memory", :limit => 2147483647
|
39
|
39
|
t.datetime "last_webhook_at"
|
|
40
|
+ t.integer "keep_events_for", :default => 0, :null => false
|
40
|
41
|
t.datetime "last_event_at"
|
41
|
42
|
t.datetime "last_error_log_at"
|
42
|
|
- t.integer "keep_events_for", :default => 0, :null => false
|
43
|
43
|
end
|
44
|
44
|
|
45
|
45
|
add_index "agents", ["schedule"], :name => "index_agents_on_schedule"
|
|
|
@@ -87,18 +87,15 @@ ActiveRecord::Schema.define(:version => 20131227000021) do
|
87
|
87
|
add_index "links", ["receiver_id", "source_id"], :name => "index_links_on_receiver_id_and_source_id"
|
88
|
88
|
add_index "links", ["source_id", "receiver_id"], :name => "index_links_on_source_id_and_receiver_id"
|
89
|
89
|
|
90
|
|
- create_table "rails_admin_histories", :force => true do |t|
|
91
|
|
- t.text "message"
|
92
|
|
- t.string "username"
|
93
|
|
- t.integer "item"
|
94
|
|
- t.string "table"
|
95
|
|
- t.integer "month", :limit => 2
|
96
|
|
- t.integer "year", :limit => 8
|
97
|
|
- t.datetime "created_at", :null => false
|
98
|
|
- t.datetime "updated_at", :null => false
|
|
90
|
+ create_table "user_credentials", :force => true do |t|
|
|
91
|
+ t.integer "user_id"
|
|
92
|
+ t.string "credential_name"
|
|
93
|
+ t.string "credential_value"
|
|
94
|
+ t.datetime "created_at", :null => false
|
|
95
|
+ t.datetime "updated_at", :null => false
|
99
|
96
|
end
|
100
|
97
|
|
101
|
|
- add_index "rails_admin_histories", ["item", "table", "month", "year"], :name => "index_rails_admin_histories"
|
|
98
|
+ add_index "user_credentials", ["user_id", "credential_name"], :name => "index_user_credentials_on_user_id_and_credential_name", :unique => true
|
102
|
99
|
|
103
|
100
|
create_table "users", :force => true do |t|
|
104
|
101
|
t.string "email", :default => "", :null => false
|